package com.gtw.modules.sys.service.impl;

import com.gtw.modules.dao.demoDao;
import com.gtw.modules.entity.demo;
import com.gtw.modules.sys.service.demoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by wuye on 2018/1/26.
 */
@Service
public class demoServiceImpl implements demoService {

    @Autowired
    private demoDao dao;

    @Override
    public void save(demo d) {
        dao.insert(d);
    }
}
